<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
        <title> <{$sys['title']}>-后台管理 </title>
          <link rel="stylesheet" href="/static/vendor/layui/css/layui.css">
          <link rel="stylesheet" href="/static/admin/css/login.css">
          <script src="/static/vendor/jquery.js"></script>
        <style>
            .layui-input-block{margin-left:0px;}
            body{background-color:#2F4056;}
        </style>
    </head>
    <body>
        <div class="admin-login-block">
            <div class="admin-login-text">
                <{$sys['title']}><span>后台管理</span>
            </div>
            <div class="login-font">
                <span>系统登录</span>
            </div>
            <div class="">
                <form class="layui-form">
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="text" name="username" required lay-verify="required" placeholder="登录账号"
                            autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="password" name="pwd" required lay-verify="required"
                            placeholder="登录密码" autocomplete="off" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input class="layui-input"
                                   type="text"
                                   id="code"
                                   name="code"
                                   lay-verify="required"
                                   placeholder="请输入验证码"
                                   value=""
                                   style="width:50%;display:inline;">
                           <img id="img" src="<{:url('publics/verify','id=login')}>"  onclick="this.src='<{:url('publics/verify','id=login')}>?t='+Math.random()">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn admin-login-btn" lay-filter="form" lay-submit>
                                登录
                            </button>
                        </div>
                    </div>
                </form>
                <div class="admin-login-copy">
                    <p><{$sys['right']}></p>
                </div>
            </div>
        </div>
    </body>
    <script src="/static/vendor/layui/layui.all.js"></script>
    <script src="/static/vendor/function.js"></script>
</html>
